import Cookies from 'js-cookie'

// const TokenKey = 'vue_admin_template_token'
const NYJMTokenKey = 'token'

export function getToken() {
  return Cookies.get(NYJMTokenKey)
}

export function setToken(token) {
  return Cookies.set(NYJMTokenKey, token)
}

export function removeToken() {
  return Cookies.remove(NYJMTokenKey)
}
